package com.dom.invoapp.dao.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * B_客户联系人信息表
 * </p>
 *
 * @author xllei
 * @since 2018-11-17
 */
@Data
@Accessors(chain = true)
@TableName("t_client_cont_info")
public class TClientContInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 联系人id 会员编码+4位编码
     */
    @TableField("cont_id")
    private Integer contId;
    /**
     * 会员编码
     */
    @TableField("mem_code")
    private Integer memCode;
    /**
     * 客户编码 会员代码+4位编码
     */
    @TableField("cust_code")
    private Integer custCode;
    /**
     * 联系人名称
     */
    @TableField("cont_name")
    private String contName;
    /**
     * 联系人性别
     */
    @TableField("cont_sex")
    private String contSex;
    /**
     * 联系人电话
     */
    @TableField("cont_phone")
    private String contPhone;
    /**
     * 联系人优先级
     */
    private Integer level;
    @Version
    private Integer version;


}
